import RadioControl, { type IRadioView } from '.';
import { type Option } from '../../types';
import BpmnControlService from '../bpmn/service';

class RadioControlService extends BpmnControlService<string> implements IRadioView {
  component = RadioControl;

  options: Option[] = [];

  value: string = '';

  constructor({ label, field, options }: { label: string, field?: string, options: Option[]; }) {
    super({ label, field });
    this.options = options;
  }

}

export default RadioControlService;
